<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=600, initial-scale=1, shrink-to-fit=no">
    <title>山长项目</title>
    <link rel="icon" href="./favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/mounDetails.css">
</head>

<body>
    <div id="home" v-cloak>
        <!-- 头部title -->
        <div class="container">
            <header class="head_top row">
                <div class="col">
                    <h1 class="head_top_tit">山长综合信息管理平台</h1>
                </div>
                <div class="col search">
                    <input class="head_top_inp fr" maxlength="10" type="text" placeholder="请输入关键字" v-model.trim="keyWords"
                    @keyup.enter="goDetails"/>
                    <img class="search_img" src="./image/search@2x.png" alt=""  @click="goDetails"/>
                </div>
            </header>
        </div>
         <!-- 头部导航栏 -->
         <div class="container-fluid nav_back">
            <div class="container">
                <div class="head_nav">
                    <nav class="nav nav-pills nav-justified" id="head_nav">
                          <!-- target="_blank" 新窗口打开 -->
                          <a class="flex-sm-fill text-sm-center nav-link" :class="item.id == 3? 'actives':''"
                          v-for="item in headNav" :key="item.id" :href="item.url">
                          {{item.text}}</a>
                    </nav>
                </div>
            </div>
        </div>
        <!-- 中间展示图 -->
        <div class="container-fluid">
            <div class="con_banner"> </div>
        </div>
        <!-- 中间内容区 -->
        <div class="container-fluid">
            <div class="container">
              <div class="mounDetails">
                  <!-- 面包屑 -->
                <div class="crumbs">
                    <img class="add_img" src="./image/add@2x.png" alt="">
                    <span>首页</span>
                    <img class="point_img" src="./image/point@2x.png" alt="">
                    <span>山体信息 </span>
                </div>
                <div class="mounDetails_con">
                    <!-- 表格区 -->
                    <div class="table_con">
                        <div class="table_con_top">
                            <span>{{mounDetailInfo.type}}</span>
                            <span>编号:{{mounDetailInfo.mountain_no}}</span>
                        </div>
                        <table border="1" cellpadding="10%" >
                            <tr>
                                <th colspan="5">
                                    济南市市中区山长制公示牌
                                </th>
                              </tr>
                              <tr>
                                <td>山体名称</td>
                                <td>{{mounDetailInfo.mountain_name}}({{mounDetailInfo.area}})</td>
                                <td>位置</td>
                                <td>{{mounDetailInfo.location}}</td>
                              </tr>
                              <tr v-for="item in mounDetailInfo.user" :key="item.id" v-if="item.authorize == 1">
                                <td>区级山长</td>
                                <td> {{item.name}}</td>
                                <td>职务</td>
                                <td>{{item.job}}</td>

                              </tr>
                              <tr v-for="item in mounDetailInfo.user" :key="item.id" v-if="item.authorize == 2">
                                <td>乡镇级山长</td>
                                <td>{{item.name}}</td>
                                <td>职务</td>
                                <td>{{item.job}}</td>

                              </tr>
                              <tr v-for="item in mounDetailInfo.user" :key="item.id" v-if="item.authorize == 3">
                                <td>巡查员</td>
                                <td>{{item.name}}</td>
                                <td>电话</td>
                                <td>{{item.phone}}</td>

                              </tr>
                              <tr>
                                <td>管理目标</td>
                                <td colspan="3">{{mountainText}}</td>
                              </tr>
                        </table>
                        <div class="table_con_foo">
                            <span>济南市人民政府监制</span>
                            <span v-if='mounDetailInfo.create_at'>{{mounDetailInfo.create_at | indexListTy}}</span> 
                        </div>
                    </div>
                    <!-- 图片展示 -->
                    <div class="landscape">
                        <span class="report_msg_tit">图片展示</span>
                        <ul class="landscape_list row">
                            <li class="landscape_item col-4" v-for="(item,index) in mounList" :key="index">
                                <img :src="item" alt="">
                            </li>

                        </ul>
                    </div>
                    <!-- 信息资讯 -->
                       <ul class="fr_content">
                        <!-- .slice(0,3) 控制循环次数 -->
                        <li class="fr_content_item row" @click="goMationDetails(item.id)" v-for="item in hotArticle.slice(0,3)" :key="item.id">
                            <div class="col-2">
                                <span>{{item.create_at}}</span>
                                <img src="./image/arrow.png" alt="">
                            </div>
                            <div class="col-6">
                                <h2>{{item.title}}</h2>
                                <div v-if="item.desc">{{item.desc}}</div>
                                <div v-else>暂无详情</div>
                            </div>
                            <div class="col-4">
                                <img :src="item.image" alt="">
                            </div>
                        </li>
                    </ul>
                </div>
              </div>
            </div>
        </div>
        <!-- 底部导航 -->
        <div class="container-fluid foo_nav_back">
            <div class="container">
                <div class="head_nav">
                    <nav class="nav nav-pills nav-justified" id="head_nav">
                          <!-- target="_blank" 新窗口打开 -->
                          <a class="flex-sm-fill text-sm-center nav-link" :class="item.id == 3? 'actives':''"
                          v-for="item in headNav" :key="item.id" :href="item.url">
                          {{item.text}}</a>
                    </nav>
                </div>
            </div>
        </div>
        <!-- 底部 -->
        <div class="container-fluid footerColumnBg">
            <div class="container">
                <footer class="footer">
                    <div class="footer_foo">
                        <h2 class="footer_tit">山长综合信息管理平台</h2>
                    </div>
                </footer>
            </div>
        </div>
        <!-- 返回顶部按钮 -->
        <div class="back_top disp_none">
            <img class="back_top_img" src="./image/top.jpg" alt="">
            <span>返回顶部</span>
        </div>
    </div>
    <!-- vue -->
    <script src="./js/vue.js"></script>
    <!-- vuex数据管理仓库 -->
    <script src="./js/vuex.js"></script>
    <!-- vuex 数据仓库 -->
    <script src="./utils/store.js"></script>
    <!-- jq -->
    <script src="./js/jquery-3.5.1.min.js"></script>
    <!-- bt -->
    <script src="./js/bootstrap.min.js"></script>
    <!-- bootstrap 插件的js文件 -->
    <script src="./js/popper.min.js"></script>
    <!-- axios请求 -->
    <script src="./js/axios.min.js"></script>
    <!-- http - axios 全局封装 -->
    <script src="./api/http.js"></script>
    <!-- 全局js工具函数以公共js -->
    <script src="./utils/global.js"></script>
    <!-- 请求 -->
    <script src="./api/api.js"></script>
    <!-- 项目数据 -->
    <script src="./js/home.js"></script>
</body>

</html>
